package com.hongxun.modules.csg.service;

import com.hongxun.modules.csg.entity.CGroundEntity;

import java.util.List;
import java.util.Map;

/**
 * 隐蔽工程：接地体
 * 
 * @author zkcn
 * @email youeremail@163.com
 * @date 2018-08-30 15:00:41
 */
public interface CGroundService {
	
	CGroundEntity queryObject(String guid);
	
	List<CGroundEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(CGroundEntity cGround);
	
	void update(CGroundEntity cGround);
	
	void delete(String guid);
	
	void deleteBatch(String[] guids);

	void insertOrReplaceOrDelete(List<CGroundEntity> entities);

}
